package cn.tedu._06vehicle.pojo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class Vehicle {
    @Schema(description = "车辆编号",required=true)
    private Long id;
    @Schema(description = "车辆品牌",required=true)
    private String brand;
    @Schema(description = "车辆车牌",required=true)
    private String license;
    @Schema(description = "车辆型号",required=true)
    private String model;
    @Schema(description = "车辆识别代号",required=true)
    private String code;
    @Schema(description = "车辆排量",required=true)
    private String displacement;
    @Schema(description = "车辆类型",required=true)
    private String type;
    @Schema(description = "车辆颜色",required=true)
    private String color;
    @Schema(description = "车辆电池类型",required=true)
    private String battery_type;
    @Schema(description = "车辆创建时间",required=true)
    private Date createTime;
    @Schema(description = "车辆更新时间",required=true)
    private Date updateTime;
    @Schema(description = "车辆用户编号",required=true)
    private Long userId;

}
